﻿using CrawlerApp.Core.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;

namespace CrawlerApp.Infrastructure.Data.Config
{
    //public class EntitiesConfiguration : IEntityTypeConfiguration<BaseEntity>
    //{
    //    public void Configure(EntityTypeBuilder<BaseEntity> builder)
    //    {
    //        builder.Property<bool>("Deleted");
            
    //        builder.HasQueryFilter(b => !EF.Property<bool>(b, "Deleted"));
    //    }
    //}
}
